package com.woniuxy.entity;

import java.util.Date;

public class User {

	private int id;            //id
	private String account;		//账号
	private String password;	//密码
	private String email;		//邮箱
	private String avatar;		//头像
	private int score;			//积分
	private Date regtime;		//注册
	private String status;		//状态
	
	
	
	public User() {
		super();
	}
	
	public User(int id) {
		super();
		this.id = id;
	}
	
	public User(int id, String account, String password, String email, String avatar, int score, Date regtime,
			String status) {
		super();
		this.id = id;
		this.account = account;
		this.password = password;
		this.email = email;
		this.avatar = avatar;
		this.score = score;
		this.regtime = regtime;
		this.status = status;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public Date getRegtime() {
		return regtime;
	}
	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", password=" + password + ", email=" + email + ", avatar="
				+ avatar + ", score=" + score + ", regtime=" + regtime + ", status=" + status + "]";
	}
		
}
